package com.ruoyi.back.service

import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.baomidou.mybatisplus.extension.service.IService
import com.ruoyi.app.common.Data
import com.ruoyi.back.domain.AppVersionInfo

interface AppVersionInfoService : IService<AppVersionInfo> {

    /**
     * 保存app 版本信息
     */
    fun saveAppVersion(appVersionInfo: AppVersionInfo): Data<Boolean>

    /**
     * app 版本分页
     */
    fun appVersionPage(appVersionInfo: AppVersionInfo): Page<AppVersionInfo>

    /**
     * 移除app 版本
     */
    fun removeAppVersionInfo(versionIds: String): Data<Boolean>
}